* {
  padding: 0;
  margin: 0;
}

body,
html {
  width: 100%;
  height: 100%;
  /* background: url('/assets/images/login_bg.jpg') no-repeat top center;
  background-size: cover; */
  background: url('/assets/images/login_bg.jpg') no-repeat top center/cover;
}


/* 登录注册盒子 */
.login-reg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 310px;
  background-color: #fff;
}

/* 2.1 顶部标题 */
.header {
  padding-top: 20px;
}

.title-box {
  height: 60px;
  background: url('/assets/images/login_title.png') no-repeat center;

}

/* 2.2 登录的盒子 */
.loginBox {
  height: 175px;
}

/* 2.3 注册盒子 */
.regBox {
  height: 228px;
}

.login-reg .layui-form {
  padding: 0 30px;
}

.login-reg .layui-btn {
  width: 100%;
}

.link a {
  font-size: 12px;
}

.login-reg .layui-form input {
  padding-left: 30px;
}

.login-reg .layui-form-item {
  position: relative;
}

.login-reg .layui-icon {
  position: absolute;
  left: 10px;
  top: 10px;
}